package org.jeecg.modules.zhibiao.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.system.entity.SysCategory;
import org.jeecg.modules.system.model.TreeSelectModel;
import org.jeecg.modules.zhibiao.entity.CaiwuZhibiao;
import org.jeecg.modules.zhibiao.mapper.CaiwuZhibiaoMapper;
import org.jeecg.modules.zhibiao.service.ICaiwuZhibiaoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: caiwu_zhibiao
 * @Author: jeecg-boot
 * @Date:   2020-06-10
 * @Version: V1.0
 */
@Service
public class CaiwuZhibiaoServiceImpl extends ServiceImpl<CaiwuZhibiaoMapper, CaiwuZhibiao> implements ICaiwuZhibiaoService {

    @Override
    public List<TreeSelectModel> listZhibiao(String deptId, String categoryPid) {
        return this.baseMapper.listZhibiao(deptId,categoryPid);
    }

    @Override
    public List<TreeSelectModel> loadAllData(String deptId, String code) {
        return this.baseMapper.loadAllData(deptId,code);
    }
}
